# import matplotlib.pyplot as plt
#
# # 数据
# x = [1, 2, 3, 4, 5]
# y = [1, 4, 9, 16, 25]
#
# # 创建图形
# plt.plot(x, y)
#
# # 添加标题和标签
# plt.title('Simple Line Plot')
# plt.xlabel('X-axis')
# plt.ylabel('Y-axis')
#
# # 显示图形
# plt.show()
import matplotlib.pyplot as plt

# 设置样式
plt.style.use('ggplot')

# 数据
x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]

# 创建图形
plt.plot(x, y)
plt.title('Styled Plot')
plt.show()
